//
//  ProvincialsSeletCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/31.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class ProvincialsSeletCell: BaseTableViewCell {
    
    @IBOutlet weak var rightLabel: UILabel!
    var model : FillAddressInfoModel?{
        
        didSet{
            
            if model == nil {
                return
            }
            
            if model!.province_name == nil {
                return
            }
            
            if model?.district_name == nil {
                rightLabel.text = "\(model!.province_name!)-\(model!.city_name!)"

            } else {
                rightLabel.text = "\(model!.province_name!)-\(model!.city_name!)-\(model!.district_name!)"

            }
            
            
            
            
        }
        
        
        
    }


    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
